<?php
include "connection.php";
$f1_1=$_GET['f1_1'];
$f1_2=$_GET['f1_2'];
$f1_3=$_GET['f1_3'];
$f1_4=$_GET['f1_4'];
$f1_5=$_GET['f1_5'];
$f1_6=$_GET['f1_6'];
$f1_7=$_GET['f1_7'];
$f2_1=$_GET['f2_1'];
$f2_2=$_GET['f2_2'];
$f2_3=$_GET['f2_3'];
$f2_4=$_GET['f2_4'];
$f2_5=$_GET['f2_5'];
$f2_6a=$_GET['f2_6a'];
$f2_6b=$_GET['f2_6b'];
$f3_1a=$_GET['f3_1a'];
$f3_1b=$_GET['f3_1b'];
$f3_2a1a=$_GET['f3_2a1a'];
$f3_2a1a1=$_GET['f3_2a1a1'];
$f3_2a1a2=$_GET['f3_2a1a2'];
$f3_2a1a3=$_GET['f3_2a1a3'];
$f3_2a1a4=$_GET['f3_2a1a4'];
$f3_2a1b=$_GET['f3_2a1b'];
$f3_2a1b1=$_GET['f3_2a1b1'];
$f3_2a1b2=$_GET['f3_2a1b2'];
$f3_2a1b3=$_GET['f3_2a1b3'];
$f3_2a1b4=$_GET['f3_2a1b4'];
$f3_2a2a1=$_GET['f3_2a2a1'];
$f3_2a2a2=$_GET['f3_2a2a2'];
$f3_2a2a3=$_GET['f3_2a2a3'];
$f3_2a2a4=$_GET['f3_2a2a4'];
$f3_2a2b1=$_GET['f3_2a2b1'];
$f3_2a2b2=$_GET['f3_2a2b2'];
$f3_2a2b3=$_GET['f3_2a2b3'];
$f3_2a2b4=$_GET['f3_2a2b4'];
$f3_2a31=$_GET['f3_2a31'];
$f3_2a32=$_GET['f3_2a32'];
$f3_2a33=$_GET['f3_2a33'];
$f3_2a34=$_GET['f3_2a34'];
$f3_2a41=$_GET['f3_2a41'];
$f3_2a42=$_GET['f3_2a42'];
$f3_2a43=$_GET['f3_2a43'];
$f3_2a44=$_GET['f3_2a44'];
$f3_2a51=$_GET['f3_2a51'];
$f3_2a52=$_GET['f3_2a52'];
$f3_2a53=$_GET['f3_2a53'];
$f3_2a54=$_GET['f3_2a54'];
$f3_2a61=$_GET['f3_2a61'];
$f3_2a62=$_GET['f3_2a62'];
$f3_2a63=$_GET['f3_2a63'];
$f3_2a64=$_GET['f3_2a64'];
$f3_2a71=$_GET['f3_2a71'];
$f3_2a72=$_GET['f3_2a72'];
$f3_2a73=$_GET['f3_2a73'];
$f3_2a74=$_GET['f3_2a74'];
$f3_2a81=$_GET['f3_2a81'];
$f3_2a82=$_GET['f3_2a82'];
$f3_2a83=$_GET['f3_2a83'];
$f3_2a84=$_GET['f3_2a84'];
$f3_2a91=$_GET['f3_2a91'];
$f3_2a92=$_GET['f3_2a92'];
$f3_2a93=$_GET['f3_2a93'];
$f3_2a94=$_GET['f3_2a94'];
$f3_2b1a1=$_GET['f3_2b1a1'];
$f3_2b1a2=$_GET['f3_2b1a2'];
$f3_2b1a3=$_GET['f3_2b1a3'];
$f3_2b1a4=$_GET['f3_2b1a4'];
$f3_2b1b1=$_GET['f3_2b1b1'];
$f3_2b1b2=$_GET['f3_2b1b2'];
$f3_2b1b3=$_GET['f3_2b1b3'];
$f3_2b1b4=$_GET['f3_2b1b4'];
$f3_2b21=$_GET['f3_2b21'];
$f3_2b22=$_GET['f3_2b22'];
$f3_2b23=$_GET['f3_2b23'];
$f3_2b24=$_GET['f3_2b24'];
$f3_2b31=$_GET['f3_2b31'];
$f3_2b32=$_GET['f3_2b32'];
$f3_2b33=$_GET['f3_2b33'];
$f3_2b34=$_GET['f3_2b34'];
$f3_2b41=$_GET['f3_2b41'];
$f3_2b42=$_GET['f3_2b42'];
$f3_2b43=$_GET['f3_2b43'];
$f3_2b44=$_GET['f3_2b44'];
$f3_2b51=$_GET['f3_2b51'];
$f3_2b52=$_GET['f3_2b52'];
$f3_2b53=$_GET['f3_2b53'];
$f3_2b54=$_GET['f3_2b54'];
$f3_2b61=$_GET['f3_2b61'];
$f3_2b62=$_GET['f3_2b62'];
$f3_2b63=$_GET['f3_2b63'];
$f3_2b64=$_GET['f3_2b64'];
$f3_3=$_GET['f3_3'];
$f3_4=$_GET['f3_4'];
$f3_5a=$_GET['f3_5a'];
$f3_5b=$_GET['f3_5b'];
$f3_5c=$_GET['f3_5c'];
$f3_5d=$_GET['f3_5d'];
$f4_1=$_GET['f4_1'];
$f4_2a=$_GET['f4_2a'];
$f4_2b=$_GET['f4_2b'];
$f4_3=$_GET['f4_3'];
$f4_4=$_GET['f4_4'];
$f4_5=$_GET['f4_5'];
$f4_6=$_GET['f4_6'];
$f4_7=$_GET['f4_7'];
$f4_8=$_GET['f4_8'];
$f4_9=$_GET['f4_9'];
$f4_10a=$_GET['f4_10a'];
$f4_10b=$_GET['f4_10b'];
$f4_11a=$_GET['f4_11a'];
$f4_11b=$_GET['f4_11b'];
$f4_11c=$_GET['f4_11c'];
$f4_11d=$_GET['f4_11d'];
$f4_12a=$_GET['f4_12a'];
$f4_12b=$_GET['f4_12b'];
$f4_12c=$_GET['f4_12c'];
$f4_12d=$_GET['f4_12d'];
$f4_13a=$_GET['f4_13a'];
$f4_13b=$_GET['f4_13b'];
$f4_13c=$_GET['f4_13c'];
$f4_13d=$_GET['f4_13d'];
$f4_13e=$_GET['f4_13e'];
$f4_13f=$_GET['f4_13f'];
$f4_13g=$_GET['f4_13g'];
$f4_13h=$_GET['f4_13h'];
$f4_13i=$_GET['f4_13i'];
$f4_13j=$_GET['f4_13j'];
$f4_14=$_GET['f4_14'];
$f4_15a=$_GET['f4_15a'];
$f4_15b=$_GET['f4_15b'];
$f4_15c=$_GET['f4_15c'];
$f4_15d=$_GET['f4_15d'];
$f4_15e=$_GET['f4_15e'];
$f4_15f=$_GET['f4_15f'];
$f4_15g=$_GET['f4_15g'];
$f4_15h=$_GET['f4_15h'];
$f4_15i=$_GET['f4_15i'];
$f4_15j=$_GET['f4_15j'];
$f4_16=$_GET['f4_16'];
$f5_1=$_GET['f5_1'];
$f5_2=$_GET['f5_2'];
$f5_3=$_GET['f5_3'];
$f5_4=$_GET['f5_4'];
$f5_5a=$_GET['f5_5a'];
$f5_5b=$_GET['f5_5b'];
$f5_5c=$_GET['f5_5c'];
$f5_5d=$_GET['f5_5d'];
$f5_6=$_GET['f5_6'];
$f5_7a=$_GET['f5_7a'];
$f5_7b=$_GET['f5_7b'];
$f5_8=$_GET['f5_8'];
$f5_9a=$_GET['f5_9a'];
$f5_9b=$_GET['f5_9b'];
$f5_9c=$_GET['f5_9c'];
$f5_9d=$_GET['f5_9d'];
$f5_10=$_GET['f5_10'];
$f5_11=$_GET['f5_11'];
$f5_12=$_GET['f5_12'];
$f5_13a=$_GET['f5_13a'];
$f5_13b=$_GET['f5_13b'];
$f5_13c=$_GET['f5_13c'];
$f5_13d=$_GET['f5_13d'];
$f5_13e=$_GET['f5_13e'];
$f5_13f=$_GET['f5_13f'];
$f5_13g=$_GET['f5_13g'];
$f6_1a=$_GET['f6_1a'];
$f6_1b=$_GET['f6_1b'];
$f6_2a=$_GET['f6_2a'];
$f6_2b=$_GET['f6_2b'];
$f6_3a=$_GET['f6_3a'];
$f6_3b=$_GET['f6_3b'];
$f6_4a=$_GET['f6_4a'];
$f6_4b=$_GET['f6_4b'];
$f6_5=$_GET['f6_5'];
$f6_6=$_GET['f6_6'];
$f6_7a1=$_GET['f6_7a1'];
$f6_7a2=$_GET['f6_7a2'];
$f6_7a3=$_GET['f6_7a3'];
$f6_7b1=$_GET['f6_7b1'];
$f6_7b2=$_GET['f6_7b2'];
$f6_7b3=$_GET['f6_7b3'];
$f6_7c1=$_GET['f6_7c1'];
$f6_7c2=$_GET['f6_7c2'];
$f6_7c3=$_GET['f6_7c3'];
$f6_8=$_GET['f6_8'];
$f6_91a1=$_GET['f6_91a1'];
$f6_91a2=$_GET['f6_91a2'];
$f6_91a3=$_GET['f6_91a3'];
$f6_91b1=$_GET['f6_91b1'];
$f6_91b2=$_GET['f6_91b2'];
$f6_91b3=$_GET['f6_91b3'];
$f6_91c1=$_GET['f6_91c1'];
$f6_91c2=$_GET['f6_91c2'];
$f6_91c3=$_GET['f6_91c3'];
$f6_921=$_GET['f6_921'];
$f6_922=$_GET['f6_922'];
$f6_923=$_GET['f6_923'];
$f6_931=$_GET['f6_931'];
$f6_932=$_GET['f6_932'];
$f6_933=$_GET['f6_933'];
$f7_1=$_GET['f7_1'];
$f7_2a=$_GET['f7_2a'];
$f7_2b=$_GET['f7_2b'];
$f7_3a=$_GET['f7_3a'];
$f7_3b=$_GET['f7_3b'];
$f7_3c=$_GET['f7_3c'];
$f7_3d=$_GET['f7_3d'];
$f7_3e=$_GET['f7_3e'];
$f7_3f=$_GET['f7_3f'];
$f8_1=$_GET['f8_1'];
$f8_2=$_GET['f8_2'];
$f8_3=$_GET['f8_3'];
$f8_4=$_GET['f8_4'];
$f8_5=$_GET['f8_5'];
$f8_6=$_GET['f8_6'];


{
   
		   $result1 = mysql_query("INSERT INTO tanswer_pkuso1s_dering_pengelola_2013 ( 
		   
sd_1_1,
sd_1_2,
sd_1_3,
sd_1_4,
sd_1_5,
sd_1_6,
sd_1_7,
sd_2_1,
sd_2_2,
sd_2_3,
sd_2_4,
sd_2_5,
sd_2_6a,
sd_2_6b,
sd_3_1a,
sd_3_1b,
sd_3_2a1a,
sd_3_2a1a1,
sd_3_2a1a2,
sd_3_2a1a3,
sd_3_2a1a4,
sd_3_2a1b,
sd_3_2a1b1,
sd_3_2a1b2,
sd_3_2a1b3,
sd_3_2a1b4,
sd_3_2a2a1,
sd_3_2a2a2,
sd_3_2a2a3,
sd_3_2a2a4,
sd_3_2a2b1,
sd_3_2a2b2,
sd_3_2a2b3,
sd_3_2a2b4,
sd_3_2a31,
sd_3_2a32,
sd_3_2a33,
sd_3_2a34,
sd_3_2a41,
sd_3_2a42,
sd_3_2a43,
sd_3_2a44,
sd_3_2a51,
sd_3_2a52,
sd_3_2a53,
sd_3_2a54,
sd_3_2a61,
sd_3_2a62,
sd_3_2a63,
sd_3_2a64,
sd_3_2a71,
sd_3_2a72,
sd_3_2a73,
sd_3_2a74,
sd_3_2a81,
sd_3_2a82,
sd_3_2a83,
sd_3_2a84,
sd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sd_6_3b,
sd_6_4a,
sd_6_4b,
sd_6_5,
sd_6_6,
sd_6_7a1,
sd_6_7a2,
sd_6_7a3,
sd_6_7b1,
sd_6_7b2,
sd_6_7b3,
sd_6_7c1,
sd_6_7c2,
sd_6_7c3,
sd_6_8,
sd_6_91a1,
sd_6_91a2,
sd_6_91a3,
sd_6_91b1,
sd_6_91b2,
sd_6_91b3,
sd_6_91c1,
sd_6_91c2,
sd_6_91c3,
sd_6_921,
sd_6_922,
sd_6_923,
sd_6_931,
sd_6_932,
sd_6_933,
sd_7_1,
sd_7_2a,
sd_7_2b,
sd_7_3a,
sd_7_3b,
sd_7_3c,
sd_7_3d,
sd_7_3e,
sd_7_3f,
sd_8_1,
sd_8_2,
sd_8_3,
sd_8_4,
sd_8_5,
sd_8_6

		   
		   ) VALUES 
		   
		   (
'$f1_1',
'$f1_2',
'$f1_3',
'$f1_4',
'$f1_5',
'$f1_6',
'$f1_7',
'$f2_1',
'$f2_2',
'$f2_3',
'$f2_4',
'$f2_5',
'$f2_6a',
'$f2_6b',
'$f3_1a',
'$f3_1b',
'$f3_2a1a',
'$f3_2a1a1',
'$f3_2a1a2',
'$f3_2a1a3',
'$f3_2a1a4',
'$f3_2a1b',
'$f3_2a1b1',
'$f3_2a1b2',
'$f3_2a1b3',
'$f3_2a1b4',
'$f3_2a2a1',
'$f3_2a2a2',
'$f3_2a2a3',
'$f3_2a2a4',
'$f3_2a2b1',
'$f3_2a2b2',
'$f3_2a2b3',
'$f3_2a2b4',
'$f3_2a31',
'$f3_2a32',
'$f3_2a33',
'$f3_2a34',
'$f3_2a41',
'$f3_2a42',
'$f3_2a43',
'$f3_2a44',
'$f3_2a51',
'$f3_2a52',
'$f3_2a53',
'$f3_2a54',
'$f3_2a61',
'$f3_2a62',
'$f3_2a63',
'$f3_2a64',
'$f3_2a71',
'$f3_2a72',
'$f3_2a73',
'$f3_2a74',
'$f3_2a81',
'$f3_2a82',
'$f3_2a83',
'$f3_2a84',
'$f3_2a91',
'$f3_2a92',
'$f3_2a93',
'$f3_2a94',
'$f3_2b1a1',
'$f3_2b1a2',
'$f3_2b1a3',
'$f3_2b1a4',
'$f3_2b1b1',
'$f3_2b1b2',
'$f3_2b1b3',
'$f3_2b1b4',
'$f3_2b21',
'$f3_2b22',
'$f3_2b23',
'$f3_2b24',
'$f3_2b31',
'$f3_2b32',
'$f3_2b33',
'$f3_2b34',
'$f3_2b41',
'$f3_2b42',
'$f3_2b43',
'$f3_2b44',
'$f3_2b51',
'$f3_2b52',
'$f3_2b53',
'$f3_2b54',
'$f3_2b61',
'$f3_2b62',
'$f3_2b63',
'$f3_2b64',
'$f3_3',
'$f3_4',
'$f3_5a',
'$f3_5b',
'$f3_5c',
'$f3_5d',
'$f4_1',
'$f4_2a',
'$f4_2b',
'$f4_3',
'$f4_4',
'$f4_5',
'$f4_6',
'$f4_7',
'$f4_8',
'$f4_9',
'$f4_10a',
'$f4_10b',
'$f4_11a',
'$f4_11b',
'$f4_11c',
'$f4_11d',
'$f4_12a',
'$f4_12b',
'$f4_12c',
'$f4_12d',
'$f4_13a',
'$f4_13b',
'$f4_13c',
'$f4_13d',
'$f4_13e',
'$f4_13f',
'$f4_13g',
'$f4_13h',
'$f4_13i',
'$f4_13j',
'$f4_14',
'$f4_15a',
'$f4_15b',
'$f4_15c',
'$f4_15d',
'$f4_15e',
'$f4_15f',
'$f4_15g',
'$f4_15h',
'$f4_15i',
'$f4_15j',
'$f4_16',
'$f5_1',
'$f5_2',
'$f5_3',
'$f5_4',
'$f5_5a',
'$f5_5b',
'$f5_5c',
'$f5_5d',
'$f5_6',
'$f5_7a',
'$f5_7b',
'$f5_8',
'$f5_9a',
'$f5_9b',
'$f5_9c',
'$f5_9d',
'$f5_10',
'$f5_11',
'$f5_12',
'$f5_13a',
'$f5_13b',
'$f5_13c',
'$f5_13d',
'$f5_13e',
'$f5_13f',
'$f5_13g',
'$f6_1a',
'$f6_1b',
'$f6_2a',
'$f6_2b',
'$f6_3a',
'$f6_3b',
'$f6_4a',
'$f6_4b',
'$f6_5',
'$f6_6',
'$f6_7a1',
'$f6_7a2',
'$f6_7a3',
'$f6_7b1',
'$f6_7b2',
'$f6_7b3',
'$f6_7c1',
'$f6_7c2',
'$f6_7c3',
'$f6_8',
'$f6_91a1',
'$f6_91a2',
'$f6_91a3',
'$f6_91b1',
'$f6_91b2',
'$f6_91b3',
'$f6_91c1',
'$f6_91c2',
'$f6_91c3',
'$f6_921',
'$f6_922',
'$f6_923',
'$f6_931',
'$f6_932',
'$f6_933',
'$f7_1',
'$f7_2a',
'$f7_2b',
'$f7_3a',
'$f7_3b',
'$f7_3c',
'$f7_3d',
'$f7_3e',
'$f7_3f',
'$f8_1',
'$f8_2',
'$f8_3',
'$f8_4',
'$f8_5',
'$f8_6'
		   
			   
		   
		   )");
		   
			if($result1)
			{
				$response["code"]="1";
				$response["msg"] = "posted successfully";
echo json_encode($response);
			} 
			else
			{
			echo mysql_error();
				$response["code"]="0";
				$response["msg"] = "Not posted successfully";
echo json_encode($response);
			}
}
?>